package com.industrial.premu.service.impl;

import com.industrial.premu.domain.PreMuExportCounts;
import com.industrial.premu.mapper.PreMuEvaluationTimesettingMapper;
import com.industrial.premu.mapper.PreMuExportCountsMapper;
import com.industrial.premu.service.IPreMuExportCountsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class PreMuExportCountsServiceImpl implements IPreMuExportCountsService {


    @Autowired
    private PreMuExportCountsMapper preMuExportCountsMapper;


    @Override
    public PreMuExportCounts selectOne(String userId) {
        return preMuExportCountsMapper.selectOne(userId);
    }

    @Override
    public boolean addPreMuExportCounts(PreMuExportCounts preMuExportCounts) {
        return preMuExportCountsMapper.addPreMuExportCounts(preMuExportCounts);
    }

    @Override
    public boolean updatePreMuExportCounts(PreMuExportCounts preMuExportCounts) {
        return preMuExportCountsMapper.updatePreMuExportCounts(preMuExportCounts);
    }
}
